package com.power.sifa.approve.model.enumeration;


/**
 * 民族常量类
 */
public enum Tp_nation {

    HAN(6001101,"汉族"),
    MENGGU(6001102,"蒙古族"),
    HUI(6001103,"回族"),
    ZANG(6001104,"藏族"),
    WEIWU(6001105,"维吾尔族"),
    MIAO(6001106,"苗族"),
    YI(6001107,"彝族"),
    ZHUANG(6001108,"壮族"),
    BUYI(6001109,"布依族"),
    CHAOXIAN(6001110,"朝鲜族"),
    MAN(6001111,"满族"),
    DONG(6001112,"侗族"),
    YAO(6001113,"瑶族"),
    BAI(6001114,"白族"),
    TUJIA(6001115,"土家族"),
    HANI(6001116,"哈尼族"),
    HASAKE(6001117,"哈萨克族"),
    DAI(6001118,"傣族"),
    LI(6001119,"黎族"),
    LISU(6001120,"傈僳族"),
    WA(6001121,"佤族"),
    SHE(6001122,"畲族"),
    GAOSHAN(6001123,"高山族"),
    LAGU(6001124,"拉祜族"),
    SHUI(6001125,"水族"),
    DONGXIANG(6001126,"东乡族"),
    NAXI(6001127,"纳西族"),
    JINGPO(6001128,"景颇族"),
    KEERKEZI(6001129,"柯尔克孜族"),
    TU(6001130,"土族"),
    DAOR(6001131,"达斡尔族"),
    MLAO(6001132,"仫佬族"),
    QIANG(6001133,"羌族"),
    BULANG(6001134,"布朗族"),
    SALA(6001135,"撒拉族"),
    MAONAN(6001136,"毛南族"),
    GELAO(6001137,"仡佬族"),
    XIBO(6001138,"锡伯族"),
    ACHANG(6001139,"阿昌族"),
    PUMI(6001140,"普米族"),
    TAJIKE(6001141,"塔吉克族"),
    NU(6001142,"怒族"),
    WUZIBIEKE(6001143,"乌孜别克族"),
    ELUOSI(6001144,"俄罗斯族"),
    EWENKE(6001145,"鄂温克族"),
    DEANG(6001146,"德昂族"),
    BAOAN(6001147,"保安族"),
    YUGU(6001148,"裕固族"),
    JING(6001149,"京族"),
    TATAER(6001150,"塔塔尔族"),
    DULONG(6001151,"独龙族"),
    ELUNCHUN(6001152,"鄂伦春族"),
    HEZHE(6001153,"赫哲族"),
    MENBA(6001154,"门巴族"),
    LUOBA(6001155,"珞巴族"),
    JINUO(6001156,"基诺族"),
    WEIDING(6001157,"未定族称人口"),
    RUJI(6001158,"入籍");


    private int value;
    private String typeName;

    Tp_nation(int value, String typeName) {
        this.value = value;
        this.typeName = typeName;
    }

    public int getValue() {
        return value;
    }

    public String getTypeName() {
        return typeName;
    }

    public static String getTypeNameByValue(int value) {
        for (Tp_nation type : Tp_nation.values()) {
            if (type.getValue() == value) {
                return type.getTypeName();
            }
        }
        return null;
    }
}
